#include "Nixie.h"



unsigned char NixieTable[]={0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78,0x00,0x10,0x08,0x03,0x46,0x21,0x06,0x0e};


void Nixie1(unsigned char w,d)
{
	switch(w)  
	{
	case 1:W=0x01;break;
	case 2:W=0x02;break;
	case 3:W=0x04;break;
	case 4:W=0x08;break;
	case 5:W=0x10;break;
	case 6:W=0x20;break;
	case 7:W=0x40;break;
	case 8:W=0x80;break;
	}
	D=NixieTable[d];   
}


